<?php

namespace Entities;

/**
 * Entities\RolPermiso
 */
class RolPermiso
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var Entities\Permiso
     */
    private $idpermiso;

    /**
     * @var Entities\Rol
     */
    private $idrol;


    /**
     * Get id
     *
     * @return integer $id
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set idpermiso
     *
     * @param Entities\Permiso $idpermiso
     */
    public function setIdpermiso(\Entities\Permiso $idpermiso)
    {
        $this->idpermiso = $idpermiso;
    }

    /**
     * Get idpermiso
     *
     * @return Entities\Permiso $idpermiso
     */
    public function getIdpermiso()
    {
        return $this->idpermiso;
    }

    /**
     * Set idrol
     *
     * @param Entities\Rol $idrol
     */
    public function setIdrol(\Entities\Rol $idrol)
    {
        $this->idrol = $idrol;
    }

    /**
     * Get idrol
     *
     * @return Entities\Rol $idrol
     */
    public function getIdrol()
    {
        return $this->idrol;
    }
}